package com.vcar.LDiceClient.core
{
	import flash.ui.Keyboard;

	public class HotKey
	{
		private static var keys:Array=[23];
		public function HotKey()
		{
		}
		
		/**
		 * 检测当前是否触发了快捷键 
		 * @param keyCode
		 * @param isCtrl
		 * @param isShift
		 * @return 
		 * 
		 */		
		public static function isHot(keyCode:uint,isCtrl:Boolean=false,isShift:Boolean=false):Boolean
		{
			if(keyCode==Keyboard.ENTER) return true; //enter
			if(keyCode==23) return true;
			return false;
		}
	}
}